*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  background: url(https://img2.imgtp.com/2024/04/14/ECJVwTrr.png) no-repeat;
  background-size: cover;
}

html::before{
  content: '';
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: -1;
  backdrop-filter: blur(1rem);
}

::selection{
  color: black;
  background-color:rgb(144, 120, 241);
}

.box{
  display: flex;
  width: 90rem;
  height: 50rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 1.5rem;
  margin: 10% auto;
  box-shadow: 0 0 1.5rem 1.2rem rgb(0 0 0 /10%);

  
}
.box .left{
  position: relative;
  width: 35%;
  height: 100%;
  background-color: skyblue;

}
.box .left::before{
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(https://img2.imgtp.com/2024/04/14/MKdXeS0f.png);
  background-size: cover;
  opacity:80%;
}

.box .right{
  display: flex;
  width: 65%;
  flex-direction: column;
  align-items: center;
}

.box .right h4{
  font-size: 3rem;
  margin-top: 5rem;
  color: rgb(144, 120, 241);
}

.box .right form {
  display: flex;
  flex-wrap: wrap;   /*指定 flex 元素单行显示还是多行显示,看视频里框的大小还变了，挺奇怪的*/
  justify-content: center;
}

.box .right form .acc{
  outline: none;
  width: 80%;
  height: 5rem;
  font-size: 1.6rem;
  margin-top: 5rem;
  padding: 1rem 0 0 1rem;  /*内边距，与聚焦时应相同*/
  border: none;
  border-bottom: 1px solid rgb(144, 120, 241);
  color: rgb(144, 120, 241);
  background-color: rgba(0, 0, 0, 0);
}

.box .right .acc:focus{     /*获得焦点的元素*/
  outline: none;
  color: rgb(144, 120, 241);
  padding: 1rem 0 0 1rem;
}

.right .submit {
  width: 60%;
  height: 5rem;
  color: #ede2e2;
  background: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%) no-repeat;
  font-size: 1.4rem;
  border: none;
  border-radius: 0.5rem;     /*允许我设置外边框圆角,可这行我看没什么区别*/
  margin: 5rem 0 0 20%;
  transform: translateX(-17%);  /*横向平移的，没必要，当复习了*/
}

.right .submit:hover{
  box-shadow: 0 0 2rem -0.5rem rgb(0 0 0 /15%);  /* X 轴偏移量、Y 轴偏移量、模糊半径、扩散半径和颜色*/
}

.right .fn{
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  width: 70%;
}

.right .fn a{
  font-size: 1.6rem;
  margin-top: 2rem;
  padding: 1rem 7rem;   /*元素内部空出的空间,不是很明白*/
  color: #c5a4a4;
}

.right .fn a:hover{
  color: #90aecc;
}